try:
    num = int(input("请输入整数"))
    result = 8 / num
    print(result)
except ValueError:
    print("请输入整数")
except ZeroDivisionError:
    print("除0整数")

